<template>
  <div>
     <div>
      <router-link to="/uirouter">UI-Router</router-link>&nbsp;
      <router-link to="/contacts">Contacts</router-link>&nbsp;
      <router-link to="/about">About</router-link>&nbsp;
     </div>
     <div>
      <!-- 一级挂载点 -->
      <router-view></router-view>
     </div>
  </div>
</template>

<script>
export default {
  data() {
    
  }
}
</script>

<style scoped>
  .router-link-active {
    color:red;
  }
</style>